Skip to content

add type to make collection in test valid#292

Closed
OyvindLGjesdal wants to merge 1 commit intoiiif-prezi:mainfrom
OyvindLGjesdal:create-valid-collection-manifest-with-ref
Closed

add type to make collection in test valid#292
OyvindLGjesdal wants to merge 1 commit intoiiif-prezi:mainfrom
OyvindLGjesdal:create-valid-collection-manifest-with-ref

Conversation

@OyvindLGjesdal
Copy link
Copy Markdown
Contributor

@OyvindLGjesdal OyvindLGjesdal commented Mar 19, 2026

I looked at examples for using make_collection_ref in the tests and ended up with a manifest not working or validating, since type is required. Thought it would make sense to add it to the test, so that the output of the test is a valid manifest.

The type=Collection could maybe be added by the helper method instead, since the function name itself implies that it creates a ref to a collection, but a working example currently could be useful for someone else trying out the library.

@OyvindLGjesdal OyvindLGjesdal changed the title add type to make collection in test validate add type to make collection in test valid Mar 20, 2026
@glenrobson
Copy link
Copy Markdown
Contributor

It looks like we also need to fix the schema to make sure Collection type is required and has a default.

@glenrobson
Copy link
Copy Markdown
Contributor

No longer needed if we fix the schema: IIIF/presentation-validator#208

@glenrobson glenrobson closed this Apr 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants